/*
 * @Author: 李明明
 * @Date: 2021-03-29 09:38:24
 * @LastEditTime: 2021-03-29 21:23:03
 * @LastEditors: 学渣小宝
 * @Description: 文章相关
 * @FilePath: /zhufeng_egg.js_2103/egg-example/app/controller/article.js
 * '
 */
'use strict';

const { Controller } = require('egg');

class ArticleController extends Controller {
  async delArticle() {
    const { ctx } = this;

    console.log(ctx.params.articleId);
    ctx.body = `文章ID为${ctx.params.articleId}评论ID为${ctx.params.tid}`;
  }
}

module.exports = ArticleController;
